home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 42 / Amiga Format AFCD42 (Issue 126, Aug 1999).iso / -serious- / programming / other / wild / support / table_cosq2sen.bas < prev    next >
BASIC Source File  |  1999-05-25  |  162b  |  14 lines

  1. OPEN "WildPJ:Wild/Tables/CosQ2Sen.table" FOR OUTPUT AS 1
  2. FOR i=0 TO 255
  3.  cosq=(i/255)
  4.  senn=(1-cosq)^.5
  5.  PRINT#1,CHR$(INT(senn*255));
  6. NEXT i
  7. CLOSE 1
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.